/*
 * @Description: Description
 * @Author: wning
 * @Date: 2022-12-01 16:22:31
 * @LastEditors: Andy
 * @LastEditTime: 2023-01-03 19:12:28
 */
import i18n from '@/common/lang'

export const columns = [
  {
    label: i18n.t('maintain.logError.module'),
    width: 120,
    prop: 'module',
    fixed: true
  },
  {
    label: i18n.t('maintain.logError.method'),
    width: 120,
    prop: 'method'
  },
  {
    label: i18n.t('maintain.logError.requestUri'),
    width: 180,
    prop: 'requestUri'
  },
  {
    label: i18n.t('maintain.logError.remoteIp'),
    width: 180,
    prop: 'remoteIp'
  },
  {
    label: i18n.t('maintain.logError.message'),
    width: 180,
    prop: 'message'
  },
  {
    label: i18n.t('maintain.logError.stackTrace'),
    width: 180,
    prop: 'stackTrace'
  },
  {
    label: i18n.t('maintain.logError.params'),
    width: 180,
    prop: 'params'
  },
  {
    label: i18n.t('maintain.logError.createTime'),
    width: 'auto',
    prop: 'createTime',
    minWidth: 160
  }
]
export const actions = [
  {
    key: 'detail',
    text: i18n.t('common.detail')
  }
]
